//
// Decompiled with: Decompiler.NET, Version=1.3.1.18439, Culture=neutral, PublicKeyToken=null, Version: 1.3.1.18439
// Decompilation Started at: 3/15/2009 10:34:26 PM
// Copyright 2003 - 2004, Jungle Creatures, Inc., All Rights Reserved. 
// Written by Jonathan Pierce, Email: support@junglecreatures.com
//

namespace PatientManagement

{
		
		#region Namespace Import Declarations
		
			using System.Collections;
			using System.ComponentModel;
			using System.Data;
			using System.Diagnostics;
			using System.Globalization;
			using System.IO;
			using System;
			using System.Reflection;
			using System.Runtime.Serialization;
			using System.Text;
			using System.Xml.Schema;
			using System.Xml;
			
		#endregion
		
	[System.Serializable()]
	[System.ComponentModel.DesignerCategoryAttribute ("code")]
	[System.Diagnostics.DebuggerStepThroughAttribute ()]
	[System.ComponentModel.ToolboxItemAttribute (true)]
	public class dsOtherSource : DataSet
	
	{
		
		#region Fields
			private vw_MedicineOrderSourceDataTable tablevw_MedicineOrderSource;
		#endregion
		
		#region Nested Types
		
			// [System.Reflection.DefaultMemberAttribute ("Item")]
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_MedicineOrderSourceDataTable : DataTable, IEnumerable
			
			{
				
				#region Fields
					private DataColumn columnclrISN;
					private DataColumn columnmesISN;
					private DataColumn columnmexDateExport;
					private DataColumn columnmexISN;
					private DataColumn columnmexMedicineName;
					private DataColumn columnmexProductionPerUnit;
					private DataColumn columnmexQuantityPerDay;
					private DataColumn columnmexQuantityPerUnit;
					private DataColumn columnmexStatus;
					private DataColumn columnmexTakePerDay;
					private DataColumn columnmexUsagePerDay;
					public event dsOtherSource.vw_MedicineOrderSourceRowChangeEventHandler vw_MedicineOrderSourceRowChanged;
					public event dsOtherSource.vw_MedicineOrderSourceRowChangeEventHandler vw_MedicineOrderSourceRowChanging;
					public event dsOtherSource.vw_MedicineOrderSourceRowChangeEventHandler vw_MedicineOrderSourceRowDeleted;
					public event dsOtherSource.vw_MedicineOrderSourceRowChangeEventHandler vw_MedicineOrderSourceRowDeleting;
				#endregion
				
				#region Constructors
				
					internal vw_MedicineOrderSourceDataTable ()
						 : base ("vw_MedicineOrderSource")
					
					{
						this.InitClass ();
						return;
					}
					
					
					internal vw_MedicineOrderSourceDataTable (DataTable table)
						 : base (table.TableName)
					
					{
						if (table.CaseSensitive == table.DataSet.CaseSensitive)
						{
							goto L_002B;
						}
						base.CaseSensitive = table.CaseSensitive;
						
					L_002B:
						
						{
						}
						if (table.Locale.ToString () == table.DataSet.Locale.ToString ())
						{
							goto L_0059;
						}
						base.Locale = table.Locale;
						
					L_0059:
						
						{
						}
						if (table.Namespace == table.DataSet.Namespace)
						{
							goto L_007D;
						}
						base.Namespace = table.Namespace;
						
					L_007D:
						
						{
						}
						base.Prefix = table.Prefix;
						base.MinimumCapacity = table.MinimumCapacity;
						base.DisplayExpression = table.DisplayExpression;
						return;
					}
					
				#endregion
				
				#region Properties
				
					internal DataColumn clrISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					[System.ComponentModel.BrowsableAttribute (false)]
					public int Count
					
					{
						get
						{
							int i;
							i = base.Rows.Count;
							goto L_000E;
							
						L_000E:
							
							{
							}
							return i;
						}
					}
					
					
					public dsOtherSource.vw_MedicineOrderSourceRow this[int index]
					
					{
						get
						{
							dsOtherSource.vw_MedicineOrderSourceRow theVw_MedicineOrderSourceRow;
							theVw_MedicineOrderSourceRow = ((dsOtherSource.vw_MedicineOrderSourceRow) base.Rows[index]);
							goto L_0014;
							
						L_0014:
							
							{
							}
							return theVw_MedicineOrderSourceRow;
						}
					}
					
					
					internal DataColumn mesISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmesISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexDateExportColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexDateExport;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexMedicineNameColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexMedicineName;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexProductionPerUnitColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexProductionPerUnit;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexQuantityPerDayColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexQuantityPerDay;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexQuantityPerUnitColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexQuantityPerUnit;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexStatusColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexStatus;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexTakePerDayColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexTakePerDay;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexUsagePerDayColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexUsagePerDay;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
				#endregion
				
				#region Methods
				
					public dsOtherSource.vw_MedicineOrderSourceRow Addvw_MedicineOrderSourceRow (string mexMedicineName, int mexQuantityPerUnit, DateTime mexDateExport, byte mexStatus, int mesISN, byte mexProductionPerUnit, int mexTakePerDay, int mexQuantityPerDay, string mexUsagePerDay, int clrISN)
					
					{
						dsOtherSource.vw_MedicineOrderSourceRow theVw_MedicineOrderSourceRow;
						dsOtherSource.vw_MedicineOrderSourceRow theVw_MedicineOrderSourceRow2;
						object[] theObjectArray;
						theVw_MedicineOrderSourceRow = ((dsOtherSource.vw_MedicineOrderSourceRow) base.NewRow ());
						theObjectArray = new object[11];
						theObjectArray[1] = mexMedicineName;
						theObjectArray[2] = mexQuantityPerUnit;
						theObjectArray[3] = mexDateExport;
						theObjectArray[4] = mexStatus;
						theObjectArray[5] = mesISN;
						theObjectArray[6] = mexProductionPerUnit;
						theObjectArray[7] = mexTakePerDay;
						theObjectArray[8] = mexQuantityPerDay;
						theObjectArray[9] = mexUsagePerDay;
						theObjectArray[10] = clrISN;
						theVw_MedicineOrderSourceRow.ItemArray = theObjectArray;
						base.Rows.Add (((DataRow) theVw_MedicineOrderSourceRow));
						theVw_MedicineOrderSourceRow2 = theVw_MedicineOrderSourceRow;
						goto L_0084;
						
					L_0084:
						
						{
						}
						return theVw_MedicineOrderSourceRow2;
					}
					
					public void Addvw_MedicineOrderSourceRow (dsOtherSource.vw_MedicineOrderSourceRow row)
					
					{
						base.Rows.Add (((DataRow) row));
						return;
					}
					
					public override DataTable Clone ()
					
					{
						dsOtherSource.vw_MedicineOrderSourceDataTable theVw_MedicineOrderSourceDataTable;
						DataTable theDataTable;
						theVw_MedicineOrderSourceDataTable = ((dsOtherSource.vw_MedicineOrderSourceDataTable) base.Clone ());
						theVw_MedicineOrderSourceDataTable.InitVars ();
						theDataTable = ((DataTable) theVw_MedicineOrderSourceDataTable);
						goto L_0016;
						
					L_0016:
						
						{
						}
						return theDataTable;
					}
					
					protected override DataTable CreateInstance ()
					
					{
						DataTable theDataTable;
						theDataTable = ((DataTable) new dsOtherSource.vw_MedicineOrderSourceDataTable ());
						goto L_0008;
						
					L_0008:
						
						{
						}
						return theDataTable;
					}
					
					public dsOtherSource.vw_MedicineOrderSourceRow FindBymexISN (int mexISN)
					
					{
						dsOtherSource.vw_MedicineOrderSourceRow theVw_MedicineOrderSourceRow;
						object[] theObjectArray;
						theObjectArray = new object[1];
						theObjectArray[0] = mexISN;
						theVw_MedicineOrderSourceRow = ((dsOtherSource.vw_MedicineOrderSourceRow) base.Rows.Find (theObjectArray));
						goto L_0024;
						
					L_0024:
						
						{
						}
						return theVw_MedicineOrderSourceRow;
					}
					
					public virtual IEnumerator GetEnumerator ()
					
					{
						IEnumerator theIEnumerator;
						theIEnumerator = base.Rows.GetEnumerator ();
						goto L_000E;
						
					L_000E:
						
						{
						}
						return theIEnumerator;
					}
					
					protected override Type GetRowType ()
					
					{
						Type theType;
						theType = typeof (dsOtherSource.vw_MedicineOrderSourceRow);
						goto L_000D;
						
					L_000D:
						
						{
						}
						return theType;
					}
					
					private void InitClass ()
					
					{
						DataColumn[] theDataColumnArray;
						this.columnmexISN = new DataColumn ("mexISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexISN);
						this.columnmexMedicineName = new DataColumn ("mexMedicineName", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexMedicineName);
						this.columnmexQuantityPerUnit = new DataColumn ("mexQuantityPerUnit", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexQuantityPerUnit);
						this.columnmexDateExport = new DataColumn ("mexDateExport", typeof (DateTime), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexDateExport);
						this.columnmexStatus = new DataColumn ("mexStatus", typeof (byte), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexStatus);
						this.columnmesISN = new DataColumn ("mesISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmesISN);
						this.columnmexProductionPerUnit = new DataColumn ("mexProductionPerUnit", typeof (byte), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexProductionPerUnit);
						this.columnmexTakePerDay = new DataColumn ("mexTakePerDay", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexTakePerDay);
						this.columnmexQuantityPerDay = new DataColumn ("mexQuantityPerDay", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexQuantityPerDay);
						this.columnmexUsagePerDay = new DataColumn ("mexUsagePerDay", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexUsagePerDay);
						this.columnclrISN = new DataColumn ("clrISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrISN);
						theDataColumnArray = new DataColumn[1];
						theDataColumnArray[0] = this.columnmexISN;
						base.Constraints.Add (((Constraint) new UniqueConstraint ("Constraint1", theDataColumnArray, true)));
						this.columnmexISN.AutoIncrement = true;
						this.columnmexISN.AllowDBNull = false;
						this.columnmexISN.ReadOnly = true;
						this.columnmexISN.Unique = true;
						this.columnclrISN.AllowDBNull = false;
						return;
					}
					
					internal void InitVars ()
					
					{
						this.columnmexISN = base.Columns["mexISN"];
						this.columnmexMedicineName = base.Columns["mexMedicineName"];
						this.columnmexQuantityPerUnit = base.Columns["mexQuantityPerUnit"];
						this.columnmexDateExport = base.Columns["mexDateExport"];
						this.columnmexStatus = base.Columns["mexStatus"];
						this.columnmesISN = base.Columns["mesISN"];
						this.columnmexProductionPerUnit = base.Columns["mexProductionPerUnit"];
						this.columnmexTakePerDay = base.Columns["mexTakePerDay"];
						this.columnmexQuantityPerDay = base.Columns["mexQuantityPerDay"];
						this.columnmexUsagePerDay = base.Columns["mexUsagePerDay"];
						this.columnclrISN = base.Columns["clrISN"];
						return;
					}
					
					protected override DataRow NewRowFromBuilder (DataRowBuilder builder)
					
					{
						DataRow theDataRow;
						theDataRow = ((DataRow) new dsOtherSource.vw_MedicineOrderSourceRow (builder));
						goto L_0009;
						
					L_0009:
						
						{
						}
						return theDataRow;
					}
					
					public dsOtherSource.vw_MedicineOrderSourceRow Newvw_MedicineOrderSourceRow ()
					
					{
						dsOtherSource.vw_MedicineOrderSourceRow theVw_MedicineOrderSourceRow;
						theVw_MedicineOrderSourceRow = ((dsOtherSource.vw_MedicineOrderSourceRow) base.NewRow ());
						goto L_000E;
						
					L_000E:
						
						{
						}
						return theVw_MedicineOrderSourceRow;
					}
					
					protected override void OnRowChanged (DataRowChangeEventArgs e)
					
					{
						base.OnRowChanged (e);
						if (this.vw_MedicineOrderSourceRowChanged == null)
						{
							goto L_0031;
						}
						this.vw_MedicineOrderSourceRowChanged (this, new dsOtherSource.vw_MedicineOrderSourceRowChangeEvent (((dsOtherSource.vw_MedicineOrderSourceRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowChanging (DataRowChangeEventArgs e)
					
					{
						base.OnRowChanging (e);
						if (this.vw_MedicineOrderSourceRowChanging == null)
						{
							goto L_0031;
						}
						this.vw_MedicineOrderSourceRowChanging (this, new dsOtherSource.vw_MedicineOrderSourceRowChangeEvent (((dsOtherSource.vw_MedicineOrderSourceRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowDeleted (DataRowChangeEventArgs e)
					
					{
						base.OnRowDeleted (e);
						if (this.vw_MedicineOrderSourceRowDeleted == null)
						{
							goto L_0031;
						}
						this.vw_MedicineOrderSourceRowDeleted (this, new dsOtherSource.vw_MedicineOrderSourceRowChangeEvent (((dsOtherSource.vw_MedicineOrderSourceRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowDeleting (DataRowChangeEventArgs e)
					
					{
						base.OnRowDeleting (e);
						if (this.vw_MedicineOrderSourceRowDeleting == null)
						{
							goto L_0031;
						}
						this.vw_MedicineOrderSourceRowDeleting (this, new dsOtherSource.vw_MedicineOrderSourceRowChangeEvent (((dsOtherSource.vw_MedicineOrderSourceRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					public void Removevw_MedicineOrderSourceRow (dsOtherSource.vw_MedicineOrderSourceRow row)
					
					{
						base.Rows.Remove (((DataRow) row));
						return;
					}
					
				#endregion
			}
			
			
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_MedicineOrderSourceRow : DataRow
			
			{
				
				#region Fields
					private dsOtherSource.vw_MedicineOrderSourceDataTable tablevw_MedicineOrderSource;
				#endregion
				
				#region Constructors
				
					internal vw_MedicineOrderSourceRow (DataRowBuilder rb)
						 : base (rb)
					
					{
						this.tablevw_MedicineOrderSource = ((dsOtherSource.vw_MedicineOrderSourceDataTable) base.Table);
						return;
					}
					
				#endregion
				
				#region Properties
				
					public int clrISN
					
					{
						get
						{
							int i;
							i = ((int) base[this.tablevw_MedicineOrderSource.clrISNColumn]);
							goto L_001A;
							
						L_001A:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.clrISNColumn] = value;
							return;
						}
					}
					
					
					public int mesISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_MedicineOrderSource.mesISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mesISNColumn] = value;
							return;
						}
					}
					
					
					public DateTime mexDateExport
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							DateTime theDateTime;
							
						L_0000:
							try
							{
								theDateTime = ((DateTime) base[this.tablevw_MedicineOrderSource.mexDateExportColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDateTime;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexDateExportColumn] = value;
							return;
						}
					}
					
					
					public int mexISN
					
					{
						get
						{
							int i;
							i = ((int) base[this.tablevw_MedicineOrderSource.mexISNColumn]);
							goto L_001A;
							
						L_001A:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexISNColumn] = value;
							return;
						}
					}
					
					
					public string mexMedicineName
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_MedicineOrderSource.mexMedicineNameColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexMedicineNameColumn] = value;
							return;
						}
					}
					
					
					public byte mexProductionPerUnit
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							byte theByte;
							
						L_0000:
							try
							{
								theByte = ((byte) base[this.tablevw_MedicineOrderSource.mexProductionPerUnitColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return theByte;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexProductionPerUnitColumn] = value;
							return;
						}
					}
					
					
					public int mexQuantityPerDay
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_MedicineOrderSource.mexQuantityPerDayColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexQuantityPerDayColumn] = value;
							return;
						}
					}
					
					
					public int mexQuantityPerUnit
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_MedicineOrderSource.mexQuantityPerUnitColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexQuantityPerUnitColumn] = value;
							return;
						}
					}
					
					
					public byte mexStatus
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							byte theByte;
							
						L_0000:
							try
							{
								theByte = ((byte) base[this.tablevw_MedicineOrderSource.mexStatusColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return theByte;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexStatusColumn] = value;
							return;
						}
					}
					
					
					public int mexTakePerDay
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_MedicineOrderSource.mexTakePerDayColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexTakePerDayColumn] = value;
							return;
						}
					}
					
					
					public string mexUsagePerDay
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_MedicineOrderSource.mexUsagePerDayColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_MedicineOrderSource.mexUsagePerDayColumn] = value;
							return;
						}
					}
					
				#endregion
				
				#region Methods
				
					public bool IsmesISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mesISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexDateExportNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexDateExportColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexMedicineNameNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexMedicineNameColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexProductionPerUnitNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexProductionPerUnitColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexQuantityPerDayNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexQuantityPerDayColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexQuantityPerUnitNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexQuantityPerUnitColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexStatusNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexStatusColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexTakePerDayNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexTakePerDayColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexUsagePerDayNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_MedicineOrderSource.mexUsagePerDayColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public void SetmesISNNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mesISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexDateExportNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexDateExportColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexMedicineNameNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexMedicineNameColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexProductionPerUnitNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexProductionPerUnitColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexQuantityPerDayNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexQuantityPerDayColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexQuantityPerUnitNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexQuantityPerUnitColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexStatusNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexStatusColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexTakePerDayNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexTakePerDayColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexUsagePerDayNull ()
					
					{
						base[this.tablevw_MedicineOrderSource.mexUsagePerDayColumn] = Convert.DBNull;
						return;
					}
					
				#endregion
			}
			
			
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_MedicineOrderSourceRowChangeEvent : EventArgs
			
			{
				
				#region Fields
					private DataRowAction eventAction;
					private dsOtherSource.vw_MedicineOrderSourceRow eventRow;
				#endregion
				
				#region Constructors
				
					public vw_MedicineOrderSourceRowChangeEvent (dsOtherSource.vw_MedicineOrderSourceRow row, DataRowAction action)
					
					{
						this.eventRow = row;
						this.eventAction = action;
						return;
					}
					
				#endregion
				
				#region Properties
				
					public DataRowAction Action
					
					{
						get
						{
							DataRowAction theDataRowAction;
							theDataRowAction = this.eventAction;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataRowAction;
						}
					}
					
					
					public dsOtherSource.vw_MedicineOrderSourceRow Row
					
					{
						get
						{
							dsOtherSource.vw_MedicineOrderSourceRow theVw_MedicineOrderSourceRow;
							theVw_MedicineOrderSourceRow = this.eventRow;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theVw_MedicineOrderSourceRow;
						}
					}
					
				#endregion
			}
			
			
			[System.Serializable()]
			public delegate void vw_MedicineOrderSourceRowChangeEventHandler (object sender, dsOtherSource.vw_MedicineOrderSourceRowChangeEvent e);
		#endregion
		
		#region Constructors
		
			public dsOtherSource ()
			
			{
				CollectionChangeEventHandler theCollectionChangeEventHandler;
				this.InitClass ();
				theCollectionChangeEventHandler = new CollectionChangeEventHandler (this.SchemaChanged);
				base.Tables.CollectionChanged += theCollectionChangeEventHandler;
				base.Relations.CollectionChanged += theCollectionChangeEventHandler;
				return;
			}
			
			
			protected dsOtherSource (SerializationInfo info, StreamingContext context)
			
			{
				string theString;
				DataSet theDataSet;
				CollectionChangeEventHandler theCollectionChangeEventHandler;
				theString = ((string) info.GetValue ("XmlSchema", typeof (string)));
				if (theString == null)
				{
					goto L_00C9;
				}
				theDataSet = new DataSet ();
				theDataSet.ReadXmlSchema (((XmlReader) new XmlTextReader (((TextReader) new StringReader (theString)))));
				if (theDataSet.Tables["vw_MedicineOrderSource"] == null)
				{
					goto L_0070;
				}
				base.Tables.Add (((DataTable) new vw_MedicineOrderSourceDataTable (theDataSet.Tables["vw_MedicineOrderSource"])));
				
			L_0070:
				
				{
				}
				base.DataSetName = theDataSet.DataSetName;
				base.Prefix = theDataSet.Prefix;
				base.Namespace = theDataSet.Namespace;
				base.Locale = theDataSet.Locale;
				base.CaseSensitive = theDataSet.CaseSensitive;
				base.EnforceConstraints = theDataSet.EnforceConstraints;
				base.Merge (theDataSet, false, MissingSchemaAction.Add);
				this.InitVars ();
				goto L_00CF;
				
			L_00C9:
				
				{
				}
				this.InitClass ();
				
			L_00CF:
				
				{
				}
				base.GetSerializationData (info, context);
				theCollectionChangeEventHandler = new CollectionChangeEventHandler (this.SchemaChanged);
				base.Tables.CollectionChanged += theCollectionChangeEventHandler;
				base.Relations.CollectionChanged += theCollectionChangeEventHandler;
				return;
			}
			
		#endregion
		
		#region Properties
		
			[System.ComponentModel.BrowsableAttribute (false)]
			[System.ComponentModel.DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Content)]
			public vw_MedicineOrderSourceDataTable vw_MedicineOrderSource
			
			{
				get
				{
					vw_MedicineOrderSourceDataTable theVw_MedicineOrderSourceDataTable;
					theVw_MedicineOrderSourceDataTable = this.tablevw_MedicineOrderSource;
					goto L_0009;
					
				L_0009:
					
					{
					}
					return theVw_MedicineOrderSourceDataTable;
				}
			}
			
		#endregion
		
		#region Methods
		
			public override DataSet Clone ()
			
			{
				dsOtherSource theDsOtherSource;
				DataSet theDataSet;
				theDsOtherSource = ((dsOtherSource) base.Clone ());
				theDsOtherSource.InitVars ();
				theDataSet = ((DataSet) theDsOtherSource);
				goto L_0016;
				
			L_0016:
				
				{
				}
				return theDataSet;
			}
			
			protected override XmlSchema GetSchemaSerializable ()
			
			{
				MemoryStream theMemoryStream;
				XmlSchema theXmlSchema;
				theMemoryStream = new MemoryStream ();
				base.WriteXmlSchema (((XmlWriter) new XmlTextWriter (((Stream) theMemoryStream), ((Encoding) null))));
				theMemoryStream.Position = 0L;
				theXmlSchema = XmlSchema.Read (((XmlReader) new XmlTextReader (((Stream) theMemoryStream))), ((ValidationEventHandler) null));
				goto L_002A;
				
			L_002A:
				
				{
				}
				return theXmlSchema;
			}
			
			private void InitClass ()
			
			{
				base.DataSetName = "dsOtherSource";
				base.Prefix = "";
				base.Namespace = "http://www.tempuri.org/dsOtherSource.xsd";
				base.Locale = new CultureInfo ("en-US");
				base.CaseSensitive = false;
				base.EnforceConstraints = true;
				this.tablevw_MedicineOrderSource = new vw_MedicineOrderSourceDataTable ();
				base.Tables.Add (((DataTable) this.tablevw_MedicineOrderSource));
				return;
			}
			
			internal void InitVars ()
			
			{
				this.tablevw_MedicineOrderSource = ((vw_MedicineOrderSourceDataTable) base.Tables["vw_MedicineOrderSource"]);
				if (this.tablevw_MedicineOrderSource == null)
				{
					goto L_002E;
				}
				this.tablevw_MedicineOrderSource.InitVars ();
				
			L_002E:
				return;
			}
			
			protected override void ReadXmlSerializable (XmlReader reader)
			
			{
				DataSet theDataSet;
				this.Reset ();
				theDataSet = new DataSet ();
				XmlReadMode theXmlReadMode = theDataSet.ReadXml (reader);
				if (theDataSet.Tables["vw_MedicineOrderSource"] == null)
				{
					goto L_0046;
				}
				base.Tables.Add (((DataTable) new vw_MedicineOrderSourceDataTable (theDataSet.Tables["vw_MedicineOrderSource"])));
				
			L_0046:
				
				{
				}
				base.DataSetName = theDataSet.DataSetName;
				base.Prefix = theDataSet.Prefix;
				base.Namespace = theDataSet.Namespace;
				base.Locale = theDataSet.Locale;
				base.CaseSensitive = theDataSet.CaseSensitive;
				base.EnforceConstraints = theDataSet.EnforceConstraints;
				base.Merge (theDataSet, false, MissingSchemaAction.Add);
				this.InitVars ();
				return;
			}
			
			private void SchemaChanged (object sender, CollectionChangeEventArgs e)
			
			{
				if (e.Action != CollectionChangeAction.Remove)
				{
					goto L_000F;
				}
				this.InitVars ();
				
			L_000F:
				return;
			}
			
			protected override bool ShouldSerializeRelations ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
			protected override bool ShouldSerializeTables ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
			private bool ShouldSerializevw_MedicineOrderSource ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
		#endregion
	}
	
}

